dart convert int string leading zeros

97

void main() {
 print(123.toString().padLeft(10, '0'));
}

Comments

Submit
0 Comments